003 s7 1200 plc plc memory and wiring the plc

好吧,现在让我们进入中央走廊的记忆区域。
All right now let's hit the memory area in a central hallway.

所以我们有这个图表,它显示了不同的内存区域及其描述。
So we have this chart which shows different memory area and its description.

现在,对于这个天生的过程图像,正如我之前告诉你的,我们为输入分配了空间内存。
Now for this process image in-born as I told you before we have a spatial memory allocated for the inputs.

所以我会拿一支铅笔。
So I would take a pencil.

这是专用于我的输入的存储区域,它将读取输入的状态并将其状态存储在内存中。
This is the memory area dedicated to my inputs which will read the status of inputs and it will store its status in the memory.

好的。
OK.

所以不是也说杯子是物理输入的状态,即
So don't it also say the cup is the state of physical inputs i.e.

存储器在扫描周期开始时存储输入过程存储器。
memory memories the input process memory at the beginning of the scan cycle.

好的,那么您已经处理了图像输出,以便到目前为止输出将输出值存储在其他内存中。
OK then you have processed image output so that so far the outputs to store the value of the outputs in some other memory.

好的。
OK.

吸管杯是扫描周期开始时物理输出的新内存状态,因此无论过程映像中有什么值,它都会被复制到输出。
The sippy cup is the state of New memory to the physical outputs at the beginning of scan cycle so whatever value you have in the process image it will be copied to the outputs.

好吧,电脑内部发生的事情迫使你的输入存储在内存中。
OK so what happened inside the PC forced your inputs are stored in a memory.

好的。
OK.

不。
No.

通过这个记忆,这个逻辑是可靠的。
By this memory this logic is solid OK.

如果这说的是真的,那么这就是真的。
If that says this is true this will be true.

这些输出的状态存储在另一个存储器中。
And the status of these outputs is stored in another memory.

我将其称为这一事件的结束。
I'm calling it an end to this one.

好的。
OK.

所以这是来自我的开关,所以开关将信息提供给土壤的记忆逻辑。
So this is coming from my switches so switches give the information to this memory logic of soil.

输出存储在输出存储器中。
The output is stored in the output memory.

这会将输出提供给我的输出端子,这将指示在这种情况下哪个应该打开指示器。
And this gives the output to my output terminals which will indicate which should turn on the indicator in that case.

好的,这就是信息是如何存储在物理上的,并将值存储在过程图像输入逻辑中,这个小逻辑输出的输出状态存储在内存中,并且该内存将状态获取到输出优势,您将其添加到其中,您知道什么。
OK so that's how the information is Sloat physical and store the value in process image input logic inside the output status of this little logic output is stored in the memory and this memory get the status to the output dominance which you add to it you know what.

好的。
OK.

那么你就有了更好的记忆力,非宠物记忆力,我们的 PNC 中有一些特殊的记忆力。
Then you have a better memory non-pet memory we have some special memory in our PNC.

一种是一般更好的存储器,一种是专用存储器,专门的存储器具有一些特殊功能,例如您有内部时钟和时钟,并查看哪些时钟会按其自己的时间间隔打开和关闭。
One is a general better memory one is a specialized memory specialized that memory has some special functions which for example you have internal clocks and clocks and see which would be on and off by its own interval.

您可以在逻辑中使用这些内部时钟。
You can use these internal clocks in your logic.

好的。
OK.

因此,如果我说这个时钟是一个特殊的内存时钟,它会自行打开和关闭。
So this clock if I say it's a special memory clock this will be on and off by itself.

好的。
OK.

所以你可以在我的逻辑中使用那个特殊的记忆。
So you can use that special memory in my logic.

好的。
OK.

然后你就有了一个通用内存,用于启动,因为你知道制作一些计时器,这样你就可以在其中使用一些普通的宠物内存,我们可以看到你知道在我们的编程中,从那以后你就有了临时内存。
Then you have a general memory which is used for lauching for you know making some timer so gets you can use some normal pet memories in that well as we can see that you know in our programming since then you have temporary memory.

现在,如果您有大量输入和输出 B C 有时存储在堆栈中,那么会发生什么情况?堆栈是分配的一组内存,用于制作处理信息的逻辑。
Now what happens if you have a lot of input and output B C sometimes store that is in a stack OK stack is it's a group of memory allocated for making the logic for processing the information.

好的。
OK.

所以我们称之为本地内存或者临时内存。
So we call it as a local memory or a temporary memory.

所以说它是在逻辑的块扩散执行期间使用的。
So it say it is used during the execution of the block diffusion of the logic.

好的,那么代码的逻辑执行就完成了 CPA 重新定位以打开内存以执行其他代码。
Ok then the logic execution of the code is finishes the CPA relocates to open memory for execution of other code plus.

所以这也很好。
So this got good as well.

因此库存商可以将其用于另一个过程的信息。
So stockists it can be used for another process of information.

好的,那么你就有了一个数据块。
OK then you have a data block.

现在假设我的输入实际上连接到传感器,并且我的传感器用于读取块数、框数、按钮数。
Now suppose my input has is actually connected to a sensor and my sensor is used to read the number of blocks number of boxes number of buttons.

它可以是任何东西。
It could be anything.

我从来不理解我电脑上的这些信息。
I never understood that information in my PC.

我将使用数据块。
I will use data blocks.

好的。
OK.

Apple 通常可以将其显示在触摸屏的 HDMI 中。
That Apple generally can be you know displayed in your HDMI in your touchscreen.

假设在这里您可以计算有多少瓶子要运来、有多少箱子要运出、有多少人来运。
Suppose here you can count how many bottles are coming how many boxes are going how many people are coming.

因此,信息存储在称为数据块的特殊存储器中。
So that information is stored in special memory which is known as data block.

好的,该块将使用 FPGA 逻辑。
OK so that block is going to use an FPGA logic.

所以我一般都读对了。
So I generally read it right.

你必须抹去这段记忆。
You got to erase this memory.

您可以重写该内存,并且可以存储该内存,并且它可以保存字节位字节。
You can rewrite this memory and this can be stored and it saves byte bits bytes was out of the word ok.

它说您可以使用您也可以使用 Gunders 中的时间,例如您想要更改过程的时间,以便时间值将存储在数据块中。
It says you can use Also you can use what time is in Gunders for example you want to change the time of your process so that time value will be stored in a data block.

正确的。
Right.

所以这些其他不同的内存区域是七千二百个,好吧,让我们继续到第二天晚上。
So these other different memory areas is seven twelve hundred OK let's proceed to the next night.

现在你有一个事实,你应该阅读它通常是一个可以帮助你的逻辑的事实。
Now you have a fact which is you should read it's generally a fact which may help you in your logics.

现在,接下来取消输入和输出,这是您在本课程中了解的主要主题,因为很多时候,人们会混淆如何接线、强加如何找到输出,因为不正确的接线或不正确的输入和输出,也可能导致一些事故。
Now next disinviting the inputs and outputs this one the main you know subjects of this lesson because many times there are confusion how to wire to impose how to find the output because incorrect wiring or incorrect input and output then it may lead to some accidents as well.

好的,从骑七百开始所以我们使用这个型号。
OK so starting with riding the seven hundred So we are using this model number.

所以这种闪电的表现方式更加聪明。
So this representation of lightning is smarter.

你也可以查一下IP看看。
You can check the IP and see as well.

基本原理非常同步。
The basic fundamentals are pretty sync.

因此,从我们看到的第一根中性线开始,这是来自电源的第一根线,可以为 PC 供电,以提供中性线,从而为 PC 的所有输入和处理器提供电源。
So starting with we have seen the line one neutral This is one line one from the power source OK to energize the PC to provide line a neutral which will provide power to all the inputs and processor of the PC.

好的。
OK.

然后你就有了 24 VDC 输出,即一端加一端。
Then you have 24 VDC output which is an end plus an end.

好的。
OK.

现在,我是您的意见的十日谈,我稍后会回来讨论这一点。
Now this I am is Decameron of your inputs I'll come back to that later.

但首先让我们了解一下这个 24 VDC。
But first let's understand this 24 VDC.

正如我告诉过你的,它是从这个 AC 转换而来的。
As I told you it's converted from this AC.

通过已在该燃料内的电源来确定该交流直流电。
OK this AC DC by the power supply which is already inside this fuel.

好的。
OK.

那么让我来指点一下吧。
So let me take a pointer Yeah.

因此,这会转换为直流电,因此您可以将这种直流电用于各种吸烟者,假设这是连接输入的目的之一。
So this converts into DC so this DC is inside the belief that you can use for various smokers supposes the one of the purposes to wire the inputs.

现在如何添加输入,它可以将 24 VDC 保存到其中。
Now how to add the inputs it saves 24 VDC into it.

您必须检查您的输入状态是直流还是交流。
You have to check your input status whether it's DC or AC.

所以在 Arcade 中它是直流输入。
So in Arcade's it's DC inputs.

好吧,如果是交流电,接线会有所不同。
OK if it is AC it's wiring will be different.

因此,这是针对直流输入,它表示 18 至 24 VDC 600 万个备用电源点。
So this is for DC inputs it says 18 to 24 VDC six million spare power point.

这意味着每个输入只能承受 600 万对电流和 600 万桶电流。
It means every input can only bear six million pairs of current a draw six million barrels of it.

好的。
OK.

因此,请谨慎对待您的意见,以了解如何做到这一点。
So be careful with your inputs to how to Koning that.

所以如果你看到这个。
So if you see this one.

现在让我改变我的颜色。
Now let me change my my color.

现在这个。
Now this one.

这是我忙碌的科尔曼。
This is the Coleman off my buzy.

现在我所做的是连接五到六根电线。
Now what I have done is I have connected a wire from five to six.

现在这适用于有线,这是粉红色的。
Now this for Wired Is this in pink color.

这用 24 点来表示。
This is represented by 24 points.

好的。
Okay.

在这里,20 英尺高的墙结束了,加上 Mbai 是零木材,我将把黑人文化视为零。
And here the 20 foot walls end plus Mbai is zero wood I will take a black culture at zero.

好的。
OK.

因此,要实现我的六号六号,所有这些都可以归零。
So zero all this can take to do my six number six number is having zero.

好的。
OK.

现在我必须提供 7 8 9 10 来打开输入。
Now what I have to provide to 7 8 9 10 to turn on the input.

24 了。
It's 24.

因此,我们必须保持输入优势和公分母之间的潜在差异,即我输入的这对于所有输入来说都是共同的。
So we have to maintain a potential difference between the input dominance and the common denominator which is I enter this is common to all the inputs.

好的,所以零世界已连接到它,并且您有 24 个空隙连接到其他输入来激活它。
OK so the zero world is connected to it and you have 24 voids to other inputs to activate it.

因此,如果您看到病毒从这里传来并且它会来到交换机。
So if you see a virus coming from here and it's coming to the switch.

所以我们有八个开关。
So we have eight switches.

这与我们在模拟器中的类似。
This is similar to what we have in the simulator.

如果我现在为你打开这个,如果你能在这里看到我们有它们。
If I open up this for you now if you can see here here we have them.

所以这里有 24 个洞,这个一二三四正在准备从我的开关中接球。
So this is given 24 holes and this one two three four is getting ready for balls from my switches from my switches.

这就是为什么如果我打开我那一端的开关,它就会打开和关闭。
That's why if I turn on the switch my end it is going on and off.

好的。
OK.

因此,如果我打开开关,就会出现小墙,而我的状态则不够好。
So if I turn on the switch that's how it's getting tiny walls and my state isn't getting on enough.

好的。
OK.

因此,如果您打开开关,该特定 LCD 将打开。
So if you turn on the switch this particular LCD will be on.

如果你关闭开关,它甚至会消失。
If you turn off the switch this even goes off.

这就是您获取输入的方式。
This is how you can take the inputs.

这非常简单,您只需保持您的 PC 与您的眼睛之间的潜在差异,并对其 B 和 C 进行评论,以及您对此的输入,这就是您需要输入的方式。
It's very simple you just have to maintain a potential difference between your PC and the between your eye and comment on it of B and C and your input on this that's how you're going to need inputs.

很简单。
Very simple.

现在介绍模拟输入 现在您可能想知道为什么我们使用模拟输入。
Now coming to analog inputs Now you might wonder why we use analog inputs.

这只是为了打开和关闭我们的限制,即传感器接近度。
This is just for switches on and off our limits which are sensors proximity.

现在,对于任何输入,您可能都知道一个称为电位的设备。
Now for any input you might know a device known as potential.

这是一个潜在的模型。
This is a potential model.

我们现在也可以说电位器的一部分是可变电阻就OK了。
We can also say as part now potentiometer is a variable resistance OK.

当您移动这条毒蛇时,它的电阻会发生变化,因此它的上英寸发射器上会写有电阻额定值。
When you move this viper its resistance changes so it has a resistance rating written on the upper inch emitter.

因此,我们假设它的内阻为 5 欧姆。
So let's let's assume it has 5 ohm internal resistance of this.

在另一个例子中,这条腿和这条腿之间的电阻是 5 欧姆。
Not in another instance of the spot is 5 Ohm between this this leg and this.

这是五个,但这个金属腿会给你带来可变的阻力。
This is five going on but this metal leg will give you variable resistance.

所以这是从零到Sayf。
So this is from zero to Sayf.

好的。
OK.

抱歉,我用的是鼠标,字写得不好。
Sorry for my bad handwriting I'm using a mouse.

所以这是零到五。
So this is zero to five.

那么,当您应用时,如果您看到此接线,会发生什么,如果我们在这里所做的是这是我的电源,通常是 10,那么电源需要 10 从这个正极端子提供正 10,从这个负极端子提供零。
So what happens when you apply if you see this wiring what if what we are doing here is this is my power supply and generally it is 10 will it take 10 with power supply which supplies positive 10 from this positive terminal and zero from this negative.

因此,零一次连接到我的发射器的一条腿上的一个点,正数它连接到三个主导。
So zero is connected to one point one time in one leg of my emitter and positive it's connected to three dominant.

这是一个联合。
This is a joint.

所以这个零也将指向我的凌晨 2 点 2,这是我的类比的常见之处,输入 1 就是我的输入的到来。
So this zero is also going to my 2 AM 2 and is the common of my analogon put one in was the coming of my input.

所以这就是音节。
So this is getting syllabled.

现在它也具有非常强大的电阻输出。
Now this too is having a very able resistance output.

这意味着它是一个分压器。
It means it is a voltage divider.

如果你给我可变的输出,那么春季学期的电压从零到 10 伏,它是十倍。
If you give me variable output so from so the voltage was zero to 10 volt in the spring semester it is given tenfold.

因此,该腿的输出将从 0 到 10 就可以从发射器输出。
So the output from this this leg will be zero to 10 would OK from the emitter.

因此,根据它的位置,如果这是最左边的位置,我将得到一个配置,我将在最右边的位置得到零伏。
So based on its position if this is an extreme left position I will get a disposition I will get zero volt at extreme right position.

如果这是中间位置,我将得到 10 个字,我将其设为 Firebolt。
I will get 10 words if this is the middle position I make it Firebolt.

好吧,这就是如何从 Chimaera 中获得不同的电压,并且该电压被提供给我的爱输入的两个数字 PIN 端子,现在这是为了通过该电压为 PC 内部发生的情况提供这种潜力。
Ok thats how you get the different voltage from this put in Chimaera and that voltage is given to my two number PIN terminal of my love input now this is about providing this potential for what happened inside the PC with this voltage.

如果该值为零,则避免我的 PC 上出现一些数字位。
If this is at zero avoid my PC will have some digital bits.

例如,它将分辨率节省为 10 美元。
For example it saves resolution into 10 bucks.

好的,现在什么是分辨率 分辨率是指您的电脑的转换率。
OK now what is a resolution Resolution means the conversion rate of your PC.

好的。
OK.

二加二则意味着每个终端有 10 个,其分辨率编号之间有 10 个,但有 10 个。
Two and two then means each terminal has 10 which resolution number has 10 between them but has 10.

所以你有两个输入。
So you have two inputs.

但随后因为解决方案 10 却想提高到 10 以上,即 1 0 2 4。
But then because olution 10 but is want to raise to the over 10 which is 1 0 2 4.

好吧,如果我的输入为零,请避免让我尝试通过范围 0 5 10 模式直接引导范围。
Ok so if my input is zero avoid Let me try that range led right through ranges 0 5 10 mode.

因此,如果我的输入为零伏,则转换率将为零;如果我的 PC 输入为 10 伏,则转换率将为 1 0 2 3。
So if my input is zero volt my conversion rate will be zero if my input is 10 voyde to my PC it will be 1 0 2 3.

但如果我的屁股是五个,那么电影大约是一半。
But if my butt is five all in between it's movie approximately half of it.

所以这是一种氛围,但介于两者之间,你可能会建议不要在你的电脑上下注。
So it's a vibe but it's somewhat in between you would have proposed no bets in your PCs.

洛根会告诉你你妻子的立场。
And Logan will tell you the position of your wife.

你可以建立一个逻辑,你可以将这个数字范围的位转换成愤怒或立场,或者你知道你想要的任何东西。
You can make a logic and you can convert this digital range of bits into the anger or the position or you know whatever you want.

有多少偏差,您可以用角度来计算。
How much deviation is there you can calculate that in angles.

这是如何使用位和输入的示例之一。
So this is one of the examples how to use bits and inputs.

现在我们已经有了真正的输出。
Now we have really outputs now in really outputs.

我们在这里连接了一些灯。
We have connected some lamps here.

这是指标,是指标的符号。
This is the indicator is a symbol of an indicator.

现在我们所做的是继电器输出六进非常好意味着我们有六个真正的输出,它可以节省V 30 VDC或250 AC,8个削弱VDC意味着您可以在此处连接范围为30和250的数字输出Veazey意味着您可以将交流输出连接到奇怪的电压范围,并且对于每个范围,限流器会将两个未配对的部分点配对。
Now what we have done this is a relay output six into really good means we have six really outputs it saves V 30 VDC or 250 AC and 8 to impair VDC means you can connect digital outputs here of the range 30 and 250 Veazey means you can connect AC output off the strange voltage range and for each range the current limiter is to pair part point two unpaired.

每个都可以由此输出给出。
Each can be given by this outputs.

所以邓纳确实有一个鹦鹉学舌的尴尬,这是一个相当不错的评级。
So in Dunner really has a parroting of to embarras which is quite a decent rating.

好吧,那怎么可能呢。
OK so how can it that.

现在你看到这是L-1 这就是线。
Now you see that this is L-1 This is the line.

线路连接到我的 1 号 PIN(我的评论)和 2 个 6 号 PIN。
Line is connected to my PIN number one which just I my comment and 2 pin number 6.

那么当 PC 内部的逻辑是什么呢?
So what happens when the logic inside the PC is.

在飞机上看到的。
Saw it on the plane.

假设你有一个逻辑,表示这个强制输入,然后你在这里有一个输出,并产生一个连接到我的眼睛的输出。
Suppose you have a logic that says this forced input and then you have an output here and make an output which is connected to my eyes on.

这与我的输入有关。
And this is connected to my input.

好的,如果这个输入在 PC 内其相应的 Bid 为真,会发生什么。
OK so what happens if this input goes on its corresponding Bidwill be true inside the PC.

所以这将是这个输出将是。
So this will be on this output will be on.

假设这是以零点零输出的。
And suppose this is egressed with zero point zero.

那么这个输出的共同点发生了什么。
So what happened this the common of this output.

这条线将从这里延伸到这里,因为这是真的。
The line will travel from here to here because this is true.

线路将会出来,现在这里有一条线路,并且直接连接到我的新闻编辑室。
The line will come out and this is now having a line here and this is connected directly to my NEWSROOM.

那么这个灯就会亮起来。
So this lamp will be on OK.

这就是通过删除 Let alone 或稍后程序内部的输入来打开输出的方式。
That's how your output is wired to turn on by deleting the inputs to the Let alone or later program inside.

如果您没有得到任何排名第一的东西,它将在此处短路,但输出不会发生任何变化,因此无论您向引脚 1 提供什么信号,该信号将从投注内的输出中发出,都位于相应的打开地址上。
If you do not get anything to be number one it will be shorted here but nothing will happen to the output so whatever signal you give to pin number 1 which will come out from the outputs inside the bet is on corresponding address that is on.

好的,我希望你明白这一点。
OK I hope you understand that.

同样,如果我已将线路连接到引脚 6,如果我的输出位于该线路上,我将执行 7 号引脚,而 5 号引脚位于该线路上。
Similarly if I have connected line to pin number 6 if my output for it is on this line I will do the 7 and 5 is on this line.

欢迎来到 8 is 4 is on this 0.2 is on this line Interval,因此您提供给引脚 1 的信号将仅输出到 2 3 4 和 5,而不是 7 和 8。
Welcome to the 8 is 4 is on this 0.2 is on this line interval here so the signal you provide to pin number 1 will come out to 2 3 4 and 5 only not 7 and 8.

因为这取决于性别,所以这一公共端有四个输出触点。
Because this is dependent on sex so this one common has four output contacts.

Garmin 必须进行传导,以便您还可以有四个交流输出,并通过在此处提供直流电来进行直流输出。
This Garmin has to conduct so you can also have four AC outputs and to DC put by providing DC here.

如果您必须使用直流电,则并不总是需要充电到 1 和 6,或者您可以将直流电充电到 6 号,将交流电充电到 1 号。
It's not always necessary to to charge to 1 and 6 if you have to DC or you can get the DC to 6 number and AC to one number.

这就是更改输入和输出的方法。
That's how you can change the input and output.

OK,然后您就有处理器亲母 LAN 互联网端口可以连接到您的 PC 进行编程。
OK then you have processor pro-female LAN Internet port to connect to connect to your PC for program.

因此,这一事实可以让您拥有一个将交流电压转换为直流电压的 Belmarsh 电源。
So this fact saves you have an Belmarsh supply which converts AC voltage to DC voltage.

好吧,让我说清楚。
OK so let me clear.